package com.bbcloud.pojo;

import java.util.Date;

public class Device {
    private Integer id;

    private String userId;

    private String deviceId;

    private String deviceName;

    private String deviceImages;

    private String status;

    private Integer mileage;

    private Integer lastMileage;

    private Integer batteryUsed;

    private Date createTime;

    private Date updateTime;

    private String reserveStr1;

    private String reserveStr2;

    private Integer reserveInt1;

    private Integer reserveInt2;

    public Device(Integer id, String userId, String deviceId, String deviceName, String deviceImages, String status, Integer mileage, Integer lastMileage, Integer batteryUsed, Date createTime, Date updateTime, String reserveStr1, String reserveStr2, Integer reserveInt1, Integer reserveInt2) {
        this.id = id;
        this.userId = userId;
        this.deviceId = deviceId;
        this.deviceName = deviceName;
        this.deviceImages = deviceImages;
        this.status = status;
        this.mileage = mileage;
        this.lastMileage = lastMileage;
        this.batteryUsed = batteryUsed;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.reserveStr1 = reserveStr1;
        this.reserveStr2 = reserveStr2;
        this.reserveInt1 = reserveInt1;
        this.reserveInt2 = reserveInt2;
    }

    public Device() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId == null ? null : deviceId.trim();
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName == null ? null : deviceName.trim();
    }

    public String getDeviceImages() {
        return deviceImages;
    }

    public void setDeviceImages(String deviceImages) {
        this.deviceImages = deviceImages == null ? null : deviceImages.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Integer getMileage() {
        return mileage;
    }

    public void setMileage(Integer mileage) {
        this.mileage = mileage;
    }

    public Integer getLastMileage() {
        return lastMileage;
    }

    public void setLastMileage(Integer lastMileage) {
        this.lastMileage = lastMileage;
    }

    public Integer getBatteryUsed() {
        return batteryUsed;
    }

    public void setBatteryUsed(Integer batteryUsed) {
        this.batteryUsed = batteryUsed;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getReserveStr1() {
        return reserveStr1;
    }

    public void setReserveStr1(String reserveStr1) {
        this.reserveStr1 = reserveStr1 == null ? null : reserveStr1.trim();
    }

    public String getReserveStr2() {
        return reserveStr2;
    }

    public void setReserveStr2(String reserveStr2) {
        this.reserveStr2 = reserveStr2 == null ? null : reserveStr2.trim();
    }

    public Integer getReserveInt1() {
        return reserveInt1;
    }

    public void setReserveInt1(Integer reserveInt1) {
        this.reserveInt1 = reserveInt1;
    }

    public Integer getReserveInt2() {
        return reserveInt2;
    }

    public void setReserveInt2(Integer reserveInt2) {
        this.reserveInt2 = reserveInt2;
    }
}